<?php
class searchspeviewModel extends ViewModel
{
	protected $viewFields=array(
		'speciality' =>array('title'=>'spetit'),
		'schoolspeciality'=>array('_on'=>'speciality.id=schoolspeciality.specialityid'),
		'school'=>array('id','title','address','education','belonging','schooltype','typeofinstitution','attach','title','_on'=>'school.id=schoolspeciality.schoolid'),
			);
}